<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="require.js"></script>
    <script>
        require.config({
            baseUrl: "./public",
            map: {
                "*":{
                    'css':'../text',
                }
            },
            paths: {
                "jquery": "jquery.min",
                "layer" : "layer/layer",
            },
            shim:{
                'layer':{
                    'deps':['jquery','css!/www/Study/vue/public/layer/skin/layer.css'],
                },
            }
        });
    </script>
</head>
<body>
<script type="text/javascript">
    require(['layer'],function () {
        layer.msg('xixi',{time:30000000});
    })
</script>
</body>
</html>